home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
fglqbx10.zip
/
14-03.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-07
|
455b
|
27 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
DIM KeyCode AS STRING*1
DIM AuxCode AS STRING*1
Seconds& = 0
PRINT "Benchmarking system speed..."
UnitsPerTick = FGmeasure
PRINT "Benchmark completed."
PRINT
FGintkey KeyCode, AuxCode
WHILE ASC(KeyCode)+ASC(AuxCode) = 0
FOR I = 1 TO 91
FGstall UnitsPerTick
NEXT
Seconds& = Seconds& + 5
PRINT Seconds&; "seconds have elapsed."
FGintkey KeyCode, AuxCode
WEND
END